﻿using System.Collections;
using UnityEngine;

namespace Assets.Scripts.Map.Data
{
    [CreateAssetMenu(fileName = "RoomDataSO_", menuName = "PCG/RoomData")]
    public class RoomDataSO : ScriptableObject
    {
        // 最小房间大小
        public Vector2Int minRoomSize;
        // 最大房间大小
        public Vector2Int maxRoomSize;
        // 是否执行随机游走
        public bool isRandomWalk = false;
        // 迭代次数
        public int iterations = 10;
        // 每次迭代长度
        public int walkLength = 10;
        // 每次迭代是否随机起始点
        public bool startRandomlyEachIteration = true;
    }
}